package com.bit.strongbaby;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

class WordDBHelper2 extends SQLiteOpenHelper {

	public WordDBHelper2(Context context) {
		super(context, "Eng1.db", null, 3);

	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		db.execSQL("create table baby_grow(month INTEGER PRIMARY KEY AUTOINCREMENT,"
				+ " height float, date TEXT);");
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		db.execSQL("drop table if exists baby_grow");
		onCreate(db);

	}

}